/**
 * 
 */
package com.sci.web.action.datareportseason.datacheck;

import javax.annotation.Resource;

import com.sci.web.action.util.BaseAction;
import com.sci.web.dao.DataCheckDao;

/**
 * @author BaiFuyou
 * @date: Nov 13, 2011 3:03:20 PM
 * 
 * 获取企业的详细信息
 */
public class GetDetailEnterpriseInfomationAction extends BaseAction {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2527233430938394606L;
	@Resource
	private DataCheckDao dataCheckDao;
	/**
	 * 企业的ID
	 */
	private int eid;
	/**
	 * 年度
	 */
	private String year;
	/**
	 * 类型
	 */
	private int type;

	/**
	 * @return the eid
	 */
	public int getEid() {
		return eid;
	}

	/**
	 * @param eid
	 *            the eid to set
	 */
	public void setEid(int eid) {
		this.eid = eid;
	}

	/**
	 * @return the year
	 */
	public String getYear() {
		return year;
	}

	/**
	 * @param year
	 *            the year to set
	 */
	public void setYear(String year) {
		this.year = year;
	}

	/**
	 * @return the type
	 */
	public int getType() {
		return type;
	}

	/**
	 * @param type
	 *            the type to set
	 */
	public void setType(int type) {
		this.type = type;
	}

	@Override
	public String execute() throws Exception {
		// TODO Auto-generated method stub
		super.setContentType(super.JSON);
		String json = "{'ename':'白福友','ebasicinfo':'<table border=\"0.1\"> <tr> <th>Month</th><th>Savings</th> </tr><tr> <td><font color=\"red\">January</font></td><td>$100</td></tr></table>','ebaseinfo':'<table border=\"1\"> <tr> <th>Month</th><th>Savings</th> </tr><tr> <td>January</td><td>$100</td></tr></table>'}";
		super.outPrint(json);
		return "json";
	}

}
